#ifndef COLORLABEL_H
#define COLORLABEL_H

#include <QLabel>
#include <QMouseEvent>
#include <QColorDialog>

class ColorLabel : public QLabel
{
    Q_OBJECT
public:
    explicit ColorLabel(QWidget *parent = nullptr);
protected:
    void mousePressEvent(QMouseEvent* event);
signals:
    void LabelIsClicked(const QColor color);
};

#endif // COLORLABEL_H
